﻿using FileMerge.Enums;

namespace FileMerge.Models
{
    /// <summary>
    /// 文件排序条件
    /// </summary>
    public class Order
    {
        /// <summary>
        /// 排序字段
        /// </summary>
        public FileOrder FileOrder { get; set; } = FileOrder.Name;

        /// <summary>
        /// 排序方式
        /// </summary>
        public OrderType OrderType { get; set; } = OrderType.Ascending;
    }
}
